//面包屑
const path = ['仓库管理', '物料拆解', '物料拆解列表'];
//搜索条件
const filterOption = {
	items: [{
		label: "关键字",
		type: "input",
		data: undefined,
		placeholder: "",
		value: undefined,
		key: "keyword"
	},
	{
		label: "拆解单类型",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "dismantlingOrderType"
	},
	{
		label: "拆解单状态",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "status"
	},
	{
		label: "审批时间",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "approvalDate"
	}
],
	btnGroup: [{
			label: "查询",
			type: "search"
		},
		{
			label: "清除",
			type: "clear"
		},
		{
			label: "导出",
			type: "export"
		}
	]
};
//状态类型
const configArr = [
	{
        color: "brown",
        label: "全部拆分单",
        value: "type1",
        count: 300
    },
    {
        color: "green",
        label: "待审批",
        value: "type2",
        count: 300
    },
]
//销售出库单列表
const tableHeaderData = [
	{
		prop:'indexNumber',
		label:'序号',
		width:''
	},
	{
		prop:'number',
		label:'拆解单号',
		width:''
	},
	{
		prop:'dismantlingOrderType',
		label:'拆解单类型',
		width:''
	},
	{
		prop:'dismantlingReasons',
		label:'拆解原因',
		width:''
	},
	{
		prop:'createName',
		label:'申请人',
		width:''
	},
	{
		prop:'approvalTime',
		label:'申请时间',
		width:''
	},
	{
		prop:'remark',
		label:'备注',
		width:''
	},
	{
		prop:'status',
		label:'状态',
		width:''
    }
]
//表格数据
const tableData = [];
//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total:1,
	num1:1,
	num2:1
}
let Model = {
	data() {
		return {
			Model: {
				path: path,
				paginationObject,
				configArr,
				filterOption: filterOption,
				tableHeaderData,							
				tableData,									
			}
		}
	}
}
export default Model;
